package chapter11_2.service;

import chapter11_2.dao.CustMybatisDao;

import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class CustomerService {
    @Resource
    private CustMybatisDao mybatisdao;
    //查看所有客户信息
    public List<Map<String, Object>> findAllCust() {
        List list=mybatisdao.findAllCust();
        return list;
    }
}
